package ast.statement.ddl

import ast.SqlNode
import ast.expr.SqlExpr
import ast.statement.SqlStatement

data class SqlCreateTable(
    var name: SqlExpr? = null,
    val columnList: MutableList<SqlCreateTableColumn> = mutableListOf()
) : SqlStatement

data class SqlCreateTableColumn(
    var name: SqlExpr? = null,
    var primary: Boolean = false,
    var notNull: Boolean = false,
    var dataType: String? = null,
    var default: SqlExpr? = null
) : SqlNode